<template>
	<div>车辆档案{{ num }}<el-button @click="changeNum">更改数字</el-button></div>
</template>

<script>
export default {
	name: 'archives-manage-car',
	data() {
		return {
			num: 1,
		};
	},
	created() {
		console.log('car created');
	},
	activated() {
		console.log('组件被激活');
	},
	deactivated() {
		console.log('组件失去激活');
	},
	methods: {
		changeNum() {
			this.num++;
		},
	},
};
</script>

<style lang="scss" scoped></style>
